﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Stu_sys.Entity
{
    public class ClassEntity
    {
        //班级id
        public int ClassEntityId { get; set; }
        //班级名称
        public string? ClassName { get; set; }
        //年级id
        public int GradeId { get; set; }
        public Grade? Grade { get; set; }
        //部门id
        public int DepartmentId { get; set; }
        public Department? Department { get; set; }
        //班主任
        public string? ClassTeacher { get; set; }
        public int ClassRoomId{ get; set; }
        public  ClassRoom? ClassRoom { get; set; }
        //班长
        public string? Head { get; set; }
        //学委
        public string? Learn { get; set; }
        //书记
        public string? Secretary { get; set; }
        //体委
        public string? Sport { get; set; }
        //劳动委员
        public string? Work { get; set;}
        //电讯委员
        public string? Electron { get; set; }
    }
}
